﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Common;

namespace UI.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            var template = HttpHelper.HttpGet<Result<List<Param_Template>>>(Tools.ApiPath + "api/Template/GetAll", "get").Data;
            ViewBag.tempalte = template;
            return View();
        }

        public ActionResult Service()
        {
            return View();
        }

        public ActionResult Coach_and_Plan()
        {
            return View();
        }

        public ActionResult Login()
        {
            return View();
        }

        public ActionResult Reg()
        {
            return View();
        }
        public ActionResult Agreement()
        {
            return View();
        }

        public ActionResult Personal()
        {
            return View();
        }

        public ActionResult Header()
        {
            return PartialView();
        }

        public ActionResult Footer()
        {
            return PartialView();
        }
    }
}